<style>
    @import "<?php echo $this->webroot.'/misc/pluges/';?>thickbox/css/thickbox.css";
</style>
<script type="text/javascript" src="<?php echo $this->webroot.'/theme/admin/';?>js/cate.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot.'/misc/pluges/';?>thickbox/js/thickbox-compressed.js"></script>
<script>
    var user    = "<?php echo url_for('user');?>";
    var user_ajax    = "<?php echo url_for('user_ajax');?>";
    $(document).ready(function(){
        change_menu_class('m_3');
        init_cate();
        buildurl();
        page_center('share');
    });

</script>
<div class="style" id="new_cates" style="display: none;">
    <h3>
        <span class="l">增加自定义分类</span>
        <span class="r"><a href="#"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22//images/btn_close.gif" /></a></span>
        <div class="c"></div>
    </h3>
    <div class="signmes">
        <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td><strong>请输入分类名称</strong></td>
            </tr>
            <tr>
                <td><label>
                        <input name="textfield" type="text" class="signtextcopy" id="textfield_ss" />
                    </label>分类名在2～20字之间</td>
            </tr>
            <!--tr>
              <td><strong>请输入分类注释(50字以内)</strong></td>
            </tr>
            <tr>
              <td><textarea name="textarea" cols="45" rows="5" class="signareacopy" id="textarea"></textarea></td>
            </tr-->
            <tr>
                <td><BR /><a href="javascript:cate_add_ajax();"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22/images/btn_save.png" /></a> <a href="javascript:hide_cate();"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22//images/btn_esc.png" /></a></td>
            </tr>
        </table>
    </div>
</div>
<!--编辑-->
<div class="style" id="edit" style="display: none;">
    <h3>
        <span class="l">增加自定义分类</span>
        <span class="r"><a href="#"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22//images/btn_close.gif" /></a></span>
        <div class="c"></div>
    </h3>
    <div class="signmes">
        <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td><strong>请输入分类名称</strong></td>
            </tr>
            <tr>
                <td><label>
                        <input name="textfield" type="text" class="signtextcopy" id="textfield_ss" />
                    </label>分类名在2～20字之间</td>
            </tr>
            <!--tr>
              <td><strong>请输入分类注释(50字以内)</strong></td>
            </tr>
            <tr>
              <td><textarea name="textarea" cols="45" rows="5" class="signareacopy" id="textarea"></textarea></td>
            </tr-->
            <tr>
                <td><BR /><a href="javascript:cate_add_ajax();"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22/images/btn_save.png" /></a> <a href="javascript:hide_cate();"><img src="<?php echo $this->webroot . '/theme/default/'; ?>u22//images/btn_esc.png" /></a></td>
            </tr>
        </table>
    </div>
</div>
<div class="history">
    <h3>全部缩短网址列表
    <div id="querybox">查询条件：
        <select onchange="buildurl();" id="classid" name="classid">

        </select>
        
        <select onchange="buildurl();" id="statusid" name="statusid">
            <option value="public">公开的</option>
            <option value="private">保密的</option>
        </select>
            
      	</div>
        </h3>
    <div class="list">
        <table width="940" border="0" cellpadding="0" cellspacing="0" id="list_url">
            <tr id="list_first">
                <td bgcolor="#e4e4e4">选择</td>
                <td bgcolor="#e4e4e4">访问量</td>
                <td bgcolor="#e4e4e4">连接</td>
                <td bgcolor="#e4e4e4">信息页</td>
                <td bgcolor="#e4e4e4">创建日期</td>
                <td bgcolor="#e4e4e4">其他</td>
                <!--td bgcolor="#e4e4e4">操作</td-->
            </tr>
            <!--tr class="list_tr">
                <td><input type="checkbox" name="ids" value="1"/></td>
                <td>http://t.cn/aT2H41</td>
                <td>http://t.cn/aT2H41</td>
                <td><a href="">sdfsdfdsf+</a></td>
                <td>08月23日</td>
                <td>
                    <span class="more" onmouseover="over(this)"><a href="#">更多</a>
                    <div class="more_event" style="display: none;" >
                            <ul>
                                <li><a href="<?php echo url_for('user/ajax_edit/');?>id/1&TB_iframe=true&height=100&width=100" title="编辑" class="thickbox">编辑</a></li>
                                <li><a href="<?php echo url_for('user/copy_url/');?>id/1&TB_iframe=true&height=100&width=100" title="复制短网址" class="thickbox">复制</a> </li>
                                <li><a href="#">概要统计</a></li>
                                <li><a href="#">详细统计</a></li>
                            </ul>
                       </div>
                    </span>
                    
                </td>
            </tr-->
            
            <tfoot>
                <tr class="thead">
                    <td class="check"><input type="checkbox" onclick="check_all_url(this);"></td>
                    <td>全选</td>
                    <td>
                        移动到：<select onchange="move_to(this.value);" name="moveurlto" id="moveurlto">
                            <option value="0">请选择...</option>
                            <optgroup label="操作">
                                <option value="-2">+新建分类</option>
                                
                            </optgroup>
                            <optgroup label="我的分类" id="new_cate">
                                <option value="-1">移到回收站</option>
                            </optgroup>
                        </select>
                        设置隐私：<select onchange="setprivacy(this.value)" id="setprivacy"><option value="0">请选择...</option>
                            <option value="private">保密</option>
                            <option value="public">公开</option>
                        </select>
                        （设置保密后只有您自己能查看详统计数据）
                    </td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
            </tfoot>
        </table>
    </div>
    <!--div class="page r">共 5 条  <a href="#"><span class="page_cur" >1</span></a> <a href="#">2</a> <a href="#">3</a></div-->
</div>

